All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.CountedSet

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Set
                   |
                   +----com.apple.alpha.core.MutableSet
                           |
                           +----com.apple.alpha.core.CountedSet

public class CountedSet
extends MutableSet
This class wraps the Objective-C class NSCountedSet.


Constructor Index

 o CountedSet()
This default constructor is equivalent to Objective-C's [[NSCountedSet alloc] init].
 o CountedSet(Array)
This constructor has the same effect as calling - initWithArray: on a newly allocated object.
 o CountedSet(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o CountedSet(int)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.
 o CountedSet(Set)
This constructor has the same effect as calling - initWithSet: on a newly allocated object.

Method Index

 o addObject(Object)
A wrapper for the - addObject: Objective-C instance method.
 o countForObject(Object)
A wrapper for the - countForObject: Objective-C instance method.
 o objectEnumerator()
A wrapper for the - objectEnumerator Objective-C instance method.
 o removeObject(Object)
A wrapper for the - removeObject: Objective-C instance method.

Constructors

 o CountedSet
 protected CountedSet(boolean shouldAllocate,
                      int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o CountedSet
 public CountedSet()
This default constructor is equivalent to Objective-C's [[NSCountedSet alloc] init].

 o CountedSet
 public CountedSet(int numItems)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.

 o CountedSet
 public CountedSet(Array array)
This constructor has the same effect as calling - initWithArray: on a newly allocated object.

 o CountedSet
 public CountedSet(Set set)
This constructor has the same effect as calling - initWithSet: on a newly allocated object.

Methods

 o countForObject
 public native int countForObject(Object object)
A wrapper for the - countForObject: Objective-C instance method.

 o objectEnumerator
 public native Enumerator objectEnumerator()
A wrapper for the - objectEnumerator Objective-C instance method.

Overrides:
objectEnumerator in class Set
 o addObject
 public native void addObject(Object object)
A wrapper for the - addObject: Objective-C instance method.

Overrides:
addObject in class MutableSet
 o removeObject
 public native void removeObject(Object object)
A wrapper for the - removeObject: Objective-C instance method.

Overrides:
removeObject in class MutableSet

All Packages  Class Hierarchy  This Package  Previous  Next  Index